import 'package:get/get.dart';
import 'package:getx/bindings/login/login_binding.dart';
import 'package:getx/bindings/main/main_binding.dart';
import 'package:getx/bindings/splash/splash_binding.dart';
import 'package:getx/router/router_names.dart';
import 'package:getx/views/login/login_view.dart';
import 'package:getx/views/main/main_view.dart';
import 'package:getx/views/splash/splash_view.dart';

sealed class RouterViews {
  static List<GetPage> getAllViews() {
    return [
      GetPage(name: RouterNames.splash, page: () => SplashView(), binding: SplashBinding()),
      GetPage(name: RouterNames.login, page: () => LoginView(), binding: LoginBinding()),
      GetPage(name: RouterNames.main, page: () => MainView(), binding: MainBinding()),
    ];
  }
}
